package com.meowcook.pojo.po;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Recipe {

    private Long id;

    private Long userId;

    private Long boardId;

    private String name;

    private String description;

    private String coverImage;

    private Byte difficulty;

    private Byte servings;

    private String tips;

    private Integer likeCount;

    private Integer collectCount;

    private Integer commentCount;

    private Byte isApproved;

    private Byte isDeleted;

    private Date createTime;

    private Date updateTime;

    private User author;

    private List<Cooking> cookingList;

    private List<Cooker> cookerList;

    private List<Material> materialList;
}